{*<p>{$lang.front.publicationPeriod}: <span id="dfrom">{$Paging.dateFrom}</span> <a href="#" class="dfromi" onclick="$.dfCalendar(calParams,{ldelim}date:$('#dfrom').html(),returnToId:'dfrom',element:this{rdelim});return false"><img src="img/up.jpg" width="16" height="15" border="0" align="absbottom" /></a> - <span id="dtill">{$Paging.dateTill}</span> <a href="#" onclick="$.dfCalendar(calParams,{ldelim}date:$('#dtill').html(),returnToId:'dtill',element:this{rdelim});return false"><img src="img/up.jpg" width="16" height="15" border="0" align="absbottom" /></a> <input type="button" value="{$lang.front.submit}" onclick="{literal}act.go({get:{f:$('#dfrom').html(),t:$('#dtill').html(),p:1}});{/literal}"></p>
<p>{$lang.front.sortBy}:
  <select name="s" onchange="{literal}act.go({get:{s:$(this).val(),p:1}});{/literal}">
   <option value='date'{if $smarty.get.s neq 'rating'} selected="selected"{/if}>{$lang.front.dateOfAddition|lower}</option>
   <option value='rating'{if $smarty.get.s eq 'rating'} selected="selected"{/if}>{$lang.front.byRating|lower}</option>
  </select>
</p>
<p>
{$lang.front.displayOnPage}:
  <select name="op" onchange="{literal}act.go({get:{op:$(this).val(),p:1}});{/literal}">
{explode delim=',' str=$Config.NewsOnPage assign='OnPage'}
{foreach from=$OnPage item="curr"}
    <option value="{$curr}"{if $Paging.onpage eq $curr} selected="selected"{/if}>{$curr}</option>
{/foreach}
    <option value='999999'{if $Paging.onpage eq 999999} selected="selected"{/if}>{$lang.front.allArticles|lower}</option>
  </select>
</p>
*}

{explode delim=$Config.imSizeDelimiter str=$Config.NewsSmallImageSize assign='ImSize'}
{if $News|@count > 0}
{foreach from=$News item="curr"}
{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.news_item.tpl" curr=$curr}
{/foreach}
{else}
<div style="color:red">{$lang.front.noPublicationsForSelectedPeriod}</div>
{/if}
{*
{foreach from=$Paging.pages item="page"}<a href="{$Paging.link}?p={$page}&s={$Paging.sort}&op={$Paging.onpage}{if $smarty.get.f}&f={$smarty.get.f}{/if}{if $smarty.get.t}&t={$smarty.get.t}{/if}" {if $page eq $Paging.page}class="blue1"{else}class="blue"{/if}>{$page}</a> {/foreach}
*}
{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.paging.tpl" Paging=$Paging Link=$Paging.link}